package 类加载器.类的初始化阶段;

import java.util.ArrayList;
import java.util.List;

/**
 * <P> @Author: ideaAdmin
 * <P> TODO: Class
 * <P> TODO:
 * <P> Date: 2022/3/30:18:46
 * <P> Description:
 */

public class AddressTest {
    void testList(List<String> list){
        list = new ArrayList<>();
        list.add("1");
        list.add("2");
    }

    public static void main(String[] args) {
        List<String> list = new ArrayList<>();
        list.add("0");
        AddressTest addressTest = new AddressTest();
        addressTest.testList(list);
        System.out.println(list);
    }
}
